package com.chushouya.product.dto.admin.evaluate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 评估项目选项
 */
@Data
@ApiModel("评估项目选项")
public class EvaluateItemValueDTO {

    @ApiModelProperty(value = "评估项目选项名称", required = true)
    @NotBlank(message = "评估项目选项名称不能为空")
    private String valueName;

    @ApiModelProperty(value = "排序", required = true)
    @NotNull(message = "排序不能为空")
    private Integer sort;

}
